<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>淘宝类目</title>
<%@ include file="/common/include.jsp"%>
<link href="/summer/template/admin/css/input.css" rel="stylesheet"
	type="text/css" />
<link href="/summer/template/admin/css/input.css" rel="stylesheet" type="text/css" />
<meta name="Author" content="SHOP++ Team" />
<meta name="Copyright" content="SUMMER" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
</head>


<body class="input">
	<div class="body">
				<div class="inputBar">
			<h1><span class="icon">&nbsp;</span>
			<s:if test="id==null">添加淘宝类目 </s:if><s:else>编辑淘宝类目</s:else>
			</h1>
		</div>

		<form id="inputForm" class="validate" action="<s:if test="id==null">itemCat!save.action</s:if><s:else>itemCat!update.action</s:else>" method="post">
			<input type="hidden" name="redirectionUrl" value="itemCat!list.action" />
			<input type="hidden" name="goods.id" value="${id}" />
			<div class="blank"></div>
			<ul class="tab">
				<li>
					<input type="button" value="基本信息" hidefocus="true" />
				</li>
				<li>
					<input type="button" value="详细资料" hidefocus="true" />
				</li>
			</ul>
			<table class="inputTable tabContent">
					<tr>
					<th>
						编号:
					</th>
					<td>
					<s:if test="id==null">
							<input type="text" name="itemCat.id" class="" />
							<label class="requireField">*</label>
					</s:if><s:else>
							<input type="text" class="formText" name="itemCat.id" value="<s:property value='itemCat.id' />" />  
						</s:else>
					</td>
				</tr>
				
					<tr>
					<th>
						创建时间:
					</th>
					<td>
					<s:if test="id==null">
							<input type="text" name="itemCat.createDate" class="" />
							<label class="requireField">*</label>
					</s:if><s:else>
							<input type="text" class="formText" name="itemCat.createDate" value="<s:property value='itemCat.createDate' />" />  
						</s:else>
					</td>
				</tr>
				
					<tr>
					<th>
						类目编码:
					</th>
					<td>
					<s:if test="id==null">
							<input type="text" name="itemCat.cid" class="" />
							<label class="requireField">*</label>
					</s:if><s:else>
							<input type="text" class="formText" name="itemCat.cid" value="<s:property value='itemCat.cid' />" />  
						</s:else>
					</td>
				</tr>
				
					<tr>
					<th>
						是否父类:
					</th>
					<td>
					<s:if test="id==null">
							<input type="text" name="itemCat.is_parent" class="" />
							<label class="requireField">*</label>
					</s:if><s:else>
							<input type="text" class="formText" name="itemCat.is_parent" value="<s:property value='itemCat.is_parent' />" />  
						</s:else>
					</td>
				</tr>
				
					<tr>
					<th>
						上一级:
					</th>
					<td>
					<s:if test="id==null">
							<input type="text" name="itemCat.itemCat" class="" />
							<label class="requireField">*</label>
					</s:if><s:else>
							<input type="text" class="formText" name="itemCat.itemCat" value="<s:property value='itemCat.itemCat' />" />  
						</s:else>
					</td>
				</tr>
				
					<tr>
					<th>
						类目名称:
					</th>
					<td>
					<s:if test="id==null">
							<input type="text" name="itemCat.name" class="" />
							<label class="requireField">*</label>
					</s:if><s:else>
							<input type="text" class="formText" name="itemCat.name" value="<s:property value='itemCat.name' />" />  
						</s:else>
					</td>
				</tr>
				
					<tr>
					<th>
						类目排序:
					</th>
					<td>
					<s:if test="id==null">
							<input type="text" name="itemCat.sortOrder" class="" />
							<label class="requireField">*</label>
					</s:if><s:else>
							<input type="text" class="formText" name="itemCat.sortOrder" value="<s:property value='itemCat.sortOrder' />" />  
						</s:else>
					</td>
				</tr>
				
					<tr>
					<th>
						类目状态:
					</th>
					<td>
					<s:if test="id==null">
							<input type="text" name="itemCat.status" class="" />
							<label class="requireField">*</label>
					</s:if><s:else>
							<input type="text" class="formText" name="itemCat.status" value="<s:property value='itemCat.status' />" />  
						</s:else>
					</td>
				</tr>
				
			</table>
			<div class="buttonArea">
				<input type="submit" class="formButton"  value="确  定" hidefocus="true" />&nbsp;&nbsp;&nbsp;&nbsp;
				<input type="button" class="formButton" onclick="window.history.back(); return false;" value="返  回" hidefocus="true" />
			</div>
		</form>
	</div>
</body>
</html>